#pragma once

#include <QLineEdit>
#include <QAction>

class PasswordLineEdit  : public QLineEdit
{
	Q_OBJECT

public:
    explicit PasswordLineEdit(QWidget* parent = nullptr);
	~PasswordLineEdit();
private:
    void init();
    void onInputVisible();

private:
    QAction* m_action;
    bool m_visible;
};


